
<!-- admin form input -->

<table class="adminform" cellpadding="10px">

<tr>
<td>Title</td>
<td><input type="text"" name="title" size="70" value="<?php echo $this->escape($this->content['title']);?>">
<br><?php echo $this->error($this->errorList['title']);?>
</td>

<td>Image:</td><td><input type="file" size="30" name="imageURL">
<br><?php echo $this->error($this->errorList["imageURL"]);?>
</td>
</tr>

<tr>
<td rowspan="2">Sumary</td>
<td rowspan="2"><textarea rows="5" cols="50" name="summary"><?php echo $this->escape($this->content["summary"]);?></textarea> 
<br><?php echo $this->error($this->errorList["summary"]);?>
</td>

<td>Publish</td>
<td><?php if(isset($this->content["status"]) && $this->content["status"] == 0){
?>
<input type="radio" name="status" value="0" checked="checked">No
<input type="radio" name="status" value="1" >Yes
<?php } 
else{?>
<input type="radio" name="status" value="0">No
<input type="radio" name="status" value="1" checked="checked">Yes
<?php } ?>
</td>
</tr>

<tr><td>Category</td>
<td>
<?php echo $this->formSelect('categoryId',$this->content['categoryId'],null,$this->categoryList);?>
<br><?php echo $this->error($this->errorList["categoryId"]);?>
</td></tr>

</table>
<script type="text/javascript">
initMCE("body");
</script>
<table class="adminform">
<tr><td>
<textarea id="body" name="body" rows="15" cols="80" style="width: 80%">
<?php echo $this->content["body"];?>
</textarea>
<br><?php echo $this->error($this->errorList["body"]);?>
</td></tr>
</table>

<!-- end admin form input -->

<input type="hidden" name="cmd" id="cmd">
<input type="hidden" name="contentId" value="<?php echo $this->content['contentId'];?>">
<input type="hidden" name="ordering" value="<?php echo $this->content['ordering'];?>">
